package com.scu.qingshi.common.exception;

import com.scu.qingshi.common.enums.ExceptionCodeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 基础异常类
 * @author qingshi
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class BaseException extends Exception {

    ExceptionCodeEnum code;

    String description;

}
